﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PresentationLayer.Views.ViewContracts
{
    using WinFormsMvp;
    using EngineLayer;
    using EngineLayer.Model;
    using System.Windows.Forms;

    public interface ICommonCatalogView : IView<MyApplication>
    {
        event EventHandler GetComboGridData;
        event EventHandler GetCatalogData;
        event EventHandler TextBoxFindChanged;
        event EventHandler OnClickButton;
        event DataGridViewCellEventHandler DataGridViewCellContentClick;
        event DataGridViewDataErrorEventHandler DataGridViewError;

        void ComboGridInfo(IEnumerable<object> DataSource);
        void Binding(IEnumerable<object> DataSource);
        void DataGridErrors(object sender, DataGridViewDataErrorEventArgs anError);
        void CloseForm();
    }
     
}
